﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Media;

namespace Eniux.Windows.ThreeDEngine.Base
{
    partial class EniuxViewport3D
    {
        #region 属性

        #region Title（标题）
        /// <summary>
        /// 标题属性
        /// </summary>
        public static readonly DependencyProperty TitleProperty = DependencyProperty.Register(
            "Title", typeof(string), typeof(EniuxViewport3D), new UIPropertyMetadata(null));

        /// <summary>
        /// 获取或设置标题
        /// </summary>
        public string Title
        {
            get { return (string)GetValue(TitleProperty); }
            set { SetValue(TitleProperty, value); }
        }

        #endregion

        #region TitleSize（标题字体大小）
        /// <summary>
        /// 标题大小属性
        /// </summary>
        public static readonly DependencyProperty TitleSizeProperty = DependencyProperty.Register(
            "TitleSize", typeof(double), typeof(EniuxViewport3D), new UIPropertyMetadata(12.0));

        /// <summary>
        /// 获取或设置标题字体大小
        /// </summary>
        public double TitleSize
        {
            get { return (double)GetValue(TitleSizeProperty); }
            set { SetValue(TitleSizeProperty, value); }
        }
        #endregion

        #region SubTitle（子标题）
        /// <summary>
        /// 子标题属性
        /// </summary>
        public static readonly DependencyProperty SubTitleProperty = DependencyProperty.Register(
            "SubTitle", typeof(string), typeof(EniuxViewport3D), new UIPropertyMetadata(null));

        /// <summary>
        /// 获取或设置子标题
        /// </summary>
        public string SubTitle
        {
            get { return (string)GetValue(SubTitleProperty); }
            set { SetValue(SubTitleProperty, value); }
        } 
        #endregion

        #region SubTitleSize（子标题字体大小）
        /// <summary>
        /// 子标题字体大小属性
        /// </summary>
        public static readonly DependencyProperty SubTitleSizeProperty = DependencyProperty.Register(
            "SubTitleSize", typeof(double), typeof(EniuxViewport3D), new UIPropertyMetadata(12.0));

        /// <summary>
        /// 获取或设置子标题字体大小
        /// </summary>
        public double SubTitleSize
        {
            get { return (double)GetValue(SubTitleSizeProperty); }
            set { SetValue(SubTitleSizeProperty, value); }
        } 
        #endregion

        #region TextBrush（ 文本笔刷）
        /// <summary>
        ///  文本笔刷属性
        /// </summary>
        public static readonly DependencyProperty TextBrushProperty = DependencyProperty.Register(
            "TextBrush", typeof(Brush), typeof(EniuxViewport3D), new UIPropertyMetadata(Brushes.Black));

        /// <summary>
        /// 获取或设置文本笔刷
        /// </summary>
        public Brush TextBrush
        {
            get { return (Brush)GetValue(TextBrushProperty); }
            set { SetValue(TextBrushProperty, value); }
        }
        #endregion

        #region TitleBackground（标题背景）
        /// <summary>
        /// 标题背景属性
        /// </summary>
        public static readonly DependencyProperty TitleBackgroundProperty =
            DependencyProperty.Register(
                "TitleBackground", typeof(Brush), typeof(EniuxViewport3D), new UIPropertyMetadata(null));

        /// <summary>
        /// 获取或设置标题背景
        /// </summary>
        public Brush TitleBackground
        {
            get { return (Brush)GetValue(TitleBackgroundProperty); }
            set { SetValue(TitleBackgroundProperty, value); }
        } 
        #endregion

        #region TitleFontFamily（标题字体）
        /// <summary>
        /// 标题字体属性
        /// </summary>
        public static readonly DependencyProperty TitleFontFamilyProperty =
            DependencyProperty.Register(
                "TitleFontFamily", typeof(FontFamily), typeof(EniuxViewport3D), new UIPropertyMetadata(null));

        /// <summary>
        /// 获取或设置标题字体
        /// </summary>
        public FontFamily TitleFontFamily
        {
            get { return (FontFamily)GetValue(TitleFontFamilyProperty); }
            set { SetValue(TitleFontFamilyProperty, value); }
        } 
        #endregion

        #region Status（状态）
        /// <summary>
        /// 状态属性
        /// </summary>
        public static readonly DependencyProperty StatusProperty = DependencyProperty.Register(
            "Status", typeof(string), typeof(EniuxViewport3D), new UIPropertyMetadata(null));

        /// <summary>
        /// 获取或设置状态
        /// </summary>
        public string Status
        {
            get { return (string)GetValue(StatusProperty); }
            set { SetValue(StatusProperty, value); }
        }
        #endregion

        #endregion
    }
}
